load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "framework_test",
    timeout = "short",
    srcs = [
        "framework_err_handling_test.go",
        "framework_ha_test.go",
        "framework_rollback_test.go",
        "framework_test.go",
    ],
    flaky = True,
    race = "off",
    shard_count = 22,
    deps = [
        "//disttask/framework/dispatcher",
        "//disttask/framework/mock",
        "//disttask/framework/proto",
        "//disttask/framework/scheduler",
        "//disttask/framework/scheduler/execute",
        "//disttask/framework/storage",
        "//domain/infosync",
        "//testkit",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_stretchr_testify//require",
        "@org_uber_go_mock//gomock",
    ],
)
